* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root{
    --color_background_body:#faf6f9;

    --color_background_contenedor:#eff8f8;

    --color_background_header:#BFDDE8;
    --color_background_logo:#BFDDE8;
    --color_background_nav:#BFDDE8;
    
    --color_background_contenido:#BFDDE8;

    --color_background_footer:#BFDDE8;

    --color_borde:#18171770;
    --color_borde_tabla:#3834342d;
    --color_shadow: #aaaaaa;

}

body {
	background: var(--color_background_body);
	color: #000;
	font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    padding: 0;
    margin: 0;
}

.contenedor{
    background: var(--color_background_contenedor);
	gap: 1rem;
    width: 90vw;
    margin-left: 5vw;
    margin-right: 5vw;
    display:grid;
    grid-template: "header"    5rem
                   "principal" auto
                   "footer"    5rem/
                    1fr;
}

/* Se configura el encabezado */
.header{
    grid-area: header;
    width: 100%;
    background: var(--color_background_header);
    /* Posiciona al logo y el menu en cada extremo */
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* padding: 0.5rem 2rem; */

    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 2rem;
    padding-left: 2rem;

    border-radius: 0.5rem;
	border-color: var(--color_borde);
	border-width: 0.1rem;
    /* border-style: solid; */
     /* Efecto Shadow */
    box-shadow: 0.3rem 0.3rem 0.3rem var(--color_shadow);
}

.logo{
    width: 13rem;
    height: auto;
    background: var(--color_background_logo);
    /* background: green; */
    justify-items: center;
    align-content: center;
    margin-left: 0rem;
    border-radius: 0.5rem;
	border-color: var(--color_borde);
	border-width: 0.1rem;
}

.logo img{
    width: 100%;
}

.navegacion{
    height: auto;
    background: var(--color_background_nav);
    justify-items: center;
	align-items: center ;
    border-radius: 0.5rem;
	border-color: var(--color_borde);
	border-width: 0.1rem;
}


.navegacion ul{
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.navegacion li{
    font-size: 1rem;
    margin-right: 1rem;
    list-style-type: none;
}


.navegacion a{
    font-size: 1rem;
    text-decoration: none;
}

.navegacion img{
    width:  2.5rem;
    height: 2.5rem;
    /* border-radius: 2px; */
}

.menu-icon, #check{
    display: none;
}
/* Se configura el cuerpo principal */


/* La principal es la que tiene la descripcion de la compania y las novedades */
.principal {
    grid-area: principal;
	background: var(--color_background_principal);
 	width: 90%;
	margin-left: 5%;
	margin-right: 5%;
    min-height: 40vh;
	display: grid;
	grid-template: "contenido" auto/
					1fr;	
   	border-radius: 0.5rem;
	border-color: var(--color_borde);
	border-width: 0.1em;
	/* border-style: solid; */
    gap: 1rem;
    align-items: center;
    justify-items: center;
}

/* Aqui se pone el SELECT y el BOTON*/

.selector{
    width: 100%;
    /* min-height: 70vh; */
    background: var(--color_background_contenido);
    border-radius: 0.5rem;
    border-color:var(--color_borde);
    /* border-style: solid; */
    /* Efecto Shadow */
    box-shadow: 0.3rem 0.3rem 0.3rem var(--color_shadow);
	display: flex;
    justify-content: center;
    padding: 1rem;
    gap: 1rem;
 }

 .selector select{
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
 }

 .selector button{
    padding: 0.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
 }

/* Es el contenido  donde se pondra el stock*/
.contenido{
    width: 100%;
    /* min-height: 70vh; */
    background: var(--color_background_contenido);
    border-radius: 0.5rem;
    border-color:var(--color_borde);
    /* border-style: solid; */
    /* Efecto Shadow */
    box-shadow: 0.3rem 0.3rem 0.3rem var(--color_shadow);
	justify-items: center;
    align-content: center;
 }

.tabla{
    width: 95%;
    border-collapse: collapse;
    margin: 1rem;
    padding: 0.5rem;
   /*  margin-left: 3rem;
    margin-top: 1rem;
    margin-bottom: 1rem; */

}

.tabla tr th{
    text-align: left;
    border: 1px solid var(--color_borde_tabla);
    padding: 0.5rem;
}

.tabla tr td{
    text-align: left;
    border: 1px solid var(--color_borde_tabla);
    padding: 0.5rem;
}


/* Se configura el pie de pagina*/

.footer{
    grid-area: footer;
    width: 100%;
    background: var(--color_background_footer);
    font-size: 0.8rem;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0.5rem;
	border-color: var(--color_borde);
	border-width: 0.1em;
    /* border-style: solid; */
     /* Efecto Shadow */
     box-shadow: 0.3rem 0.3rem 0.3rem var(--color_shadow);
}



@media only screen and (max-width: 800px) {
    .checkbtn{
        display: block;
    }
    .menu-icon{
        display: block;
        position:absolute;
        top: 1.3rem;
        right: 2.5rem;
        cursor: pointer;
    }
    .navegacion ul{
        display: block;
        position: absolute;
        top:4.3rem;
        left:-100%;
        background: var(--color_background_header);
        /* El menu ocupa el mismo ancho que el contenedor */
        /* de otra manera quedaria ocupando el total del body */
        width: 90vw;
        margin-left: 5vw;
        margin-right: 5vw;
        /* -------- */ 
        min-height: 40vh;
        right: 0;
        /*Le damos un borde redondeado para que asemeje una continuacion del Header */
        border-radius: 0.5rem;
        border-color: var(--color_borde);
        border-width: 0.1rem;
         /* Efecto Shadow */
         box-shadow: 0.3rem 0.3rem 0.3rem var(--color_shadow);
    }
    .navegacion  ul li{
        padding: 2rem;
        display: flex;
        justify-content: center;
        margin: 0;
        
    }
    .navegacion ul li:last-child{
        background: none;
        padding: 1rem;
    }
    #check:checked ~ ul{
        left: 0;
        transition: all .1s;
    }
}


@media only screen and (max-width: 600px) {

    .tabla{
        width: 95%;
    }
    .tabla tr{
        display: flex;
        flex-direction: column;
        border: 1px solid var(--color_borde_tabla);
        margin-bottom: 0.7rem;
    }

    
    .tabla tr th{
        border: none;
    }

    .tabla tr td{
        border: none;
    }



    .tabla tr td[data-titulo]{
        display:flex

    }
    
    .tabla tr td[data-titulo]::before{
        content: attr(data-titulo);
        width: 7rem;

    }


    .tabla thead{
        display: none;
    }
   
}


